<?php
include_once('common/header.php');
if($AppUI->id <= 0) {
	$this->_redirect(HOST_BACKEND);
}
$strPassword = $objRequest->getParam('password', '');
$objAdmin	 = new Admin();
$arrInfo	 = $objAdmin->get($AppUI->id);
if($arrInfo && (md5($arrInfo->password) == $strPassword)) {
	echo 1;	
}
else {
	echo 0;
}
exit();
